<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<h1>表单</h1>
<form action="https://www.baidu.com" method="post">
  <p>用户名：<input type="text" placeholder="请输入用户名" name="username" required></p>
  <p>密码：<input type="password" name="password" required></p>
    <p><input type="submit" value="提交"> <input type="reset" value="重置"> </p>
</form>

</body>
</html>